package database;


public class Announcement {

    public Announcement(int _id, String _createdby, String _content) {
        id = _id;
        createby = _createdby;
        content = _content;
    }

    public Announcement(String createdby, String content) {
        createby = createdby;
        this.content = content;
    }

    public void setId(int _id) {
        id = _id;
    }

    public void setCreateBy(String _createby) {
        createby = _createby;
    }

    public void setContent(String _content) {
        content = _content;
    }

    public int getId() {
        return id;
    }

    public String getCreateBy() {
        return createby;
    }

    public String getContent() {
        return content;
    }
    private int id = 0;
    private String createby;
    private String content;
}
